package com.itheima;
import java.util.*;

public class GetMax {
    public static void main(String[] args) {
        System.out.println("Please input two number:");
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = Get_Max(a,b);
        System.out.println(c + " is greater.");
    }
    public static int Get_Max(int x, int y){

        int temp =  x > y ? x : y;
        return temp;

    }
}
